// ScrewEngine.cpp : Defines the entry point for the console application.


#include "EnginePreComp.hpp"


int _tmain(int argc, _TCHAR* argv[])
{
	// Enable flags to output Debug information for memory leaks
	_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);

	SharedPointer_S(float) pF(new float);
	int* tI = new int;
	long* tL = (long*) malloc(sizeof(long));

	*pF = 6.45f;
	*tI = 5;
	*tL = 4;
	
	EXCEPTION_S(true, "Hail to the king baby!");
	EXCEPTION_S(false, "Tu peux pas test");
	pF.reset();
	delete tI;
	free(tL);

	_CrtDumpMemoryLeaks();


	return 0;
}

